package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.FilesEntity;
import com.example.model.dto.GetFileInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FilesMapper extends BaseMapper<FilesEntity> {

    // 获取文件列表
    List<GetFileInfo> selectFileList();

    // 判断文件是否存在
    boolean fileIsExist(String fileName);
}
